/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DataConverters.interfaces.dataformulaobject.intefaces;

/**
 *
 * @author Nobody
 */
public final class CellType {

    private String description;

    private CellType(String desc) {
        description = desc;
    }

    @Override
    public String toString() {
        return description;
    }
    public static final CellType EMPTY = new CellType("Empty");
    public static final CellType LABEL = new CellType("Label");
    public static final CellType NUMBER = new CellType("Number");
    public static final CellType BOOLEAN = new CellType("Boolean");
    public static final CellType ERROR = new CellType("Error");
    public static final CellType NUMBER_FORMULA = new CellType("Numerical Formula");
    public static final CellType DATE_FORMULA = new CellType("Date Formula");
    public static final CellType STRING_FORMULA = new CellType("String Formula");
    public static final CellType BOOLEAN_FORMULA = new CellType("Boolean Formula");
    public static final CellType FORMULA_ERROR = new CellType("Formula Error");

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final CellType other = (CellType) obj;
        if ((this.description == null) ? (other.description != null) : !this.description.equals(other.description)) {
            return false;
        }
        return true;
    }

  
    public static final CellType DATE = new CellType("Date");
}
